"Bootstrap simple login form"
Bootstrap 4.0.0 Snippet by open snippets

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <div class="container mt-5"> <div class="row align-items-center"> <div class="col-3"> </div> <div class="col-6 mb-5"> <div class="card"> <div class="card-body"> <form> <div class="form-group"> <label class="form-control-label">Email</label> <input type="email" placeholder="Email Address" class="form-control"> </div> <div class="form-group"> <label class="form-control-label">Password</label> <input type="password" class="form-control" placeholder="Password"> </div> <div class="form-group"> <button type="submit" class="btn btn-primary">Log in</button> </div> </form> </div> </div> </div> <div class="col-3"> </div> </div> </div> <section id="footer_link"> <a href="http://opensnippets.com" target="_blank">More visit open snippets</a> </section>
body { background: #96CE96 !important; } .mb-5{ margin-bottom: 4rem !important; } .card { background-color: #fff; border: none; -webkit-box-shadow: 0 0.125rem 0.8rem rgba(0,0,0,0.1); box-shadow: 0 0.125rem 0.8rem rgba(0,0,0,0.1); border-radius: 1rem; } input{ background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%; cursor: auto; } .form-control{ padding: .4rem .8rem !important; font-size: .9rem; line-height: 1.5; color: #495057; background-color: #fff; border: 1px solid #ced4da; border-radius: 2rem !important; -webkit-transition: border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out !important; transition: border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out; transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out !important; transition: border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out; } label { display: inline-block; margin-bottom: .5rem; text-transform: capitalize; } .btn-primary { color: #fff; background-color: #96CE96 !important; border-color: #96CE96 !important; } .btn{ font-weight: 400 important; border: 1px solid transparent !important; padding: .4rem 1.8rem !important; font-size: .9rem !important; line-height: 1.5 !important; border-radius: 2rem !important; -webkit-transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out; transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out; transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out; transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out,-webkit-box-shadow 0.15s ease-in-out; } #footer_link{ text-align: center; margin: 50px 0px; } #footer_link a{ background: #fff; color: #96CE96; padding: 10px 20px; font-size: 20px; }

Related: See More


Questions / Comments: